package com.zsrt.java.day20170113.lh.daily;

public class Teacher {

	
	private String name;
	private double salary;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public double getSalary() {
		return salary;
	}
	public void setSalary(double salary) {
		this.salary = salary;
	}
	public Teacher(String name, double salary) {
		super();
		this.name = name;
		this.salary = salary;
	}
	public Teacher() {
		super();
	}
	
	public void sang(){
		System.out.println("唱歌");
	}
	
	
}
